package cdu.sl.mapper;

import cdu.sl.entity.Department;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;



public interface DepartmentDao extends JpaRepository<Department,Integer> {

    Page<Department>  findByNameContaining(String name, Pageable pageable);

}
